home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 23 / develop Issue 23 code / ProjectDrag 1.1b8 / Sources / ProjectDrag Sources / TasksAndErrors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-24  |  1.1 KB  |  31 lines  |  [TEXT/MPS ]

  1. /* TasksAndErrors.h: Task and error notification routines for ProjectDrag
  2.  *
  3.  * A set of applets for drag and drop source control by Tim Maroney.
  4.  * See develop, issue 23 for details.
  5.  *
  6.  * Built on DropShell by Leonard Rosenthol, Stephan Somogyi, and Marshall Clow,
  7.  * and using the MoreFiles utilities by Jim Luther.
  8.  *
  9.  * This software is free, but don't modify and redistribute it without
  10.  * changing the status window to indicate your name and your changes!
  11.  */
  12.  
  13. #ifndef __TASKSANDERRORS__
  14. #define __TASKSANDERRORS__
  15.  
  16. void TaskStart(short strListID, short index, StringPtr param1, StringPtr param2,
  17.                 StringPtr param3, StringPtr param4);
  18. void TaskDone(void);
  19. void PopAllTasks(void);
  20.  
  21. OSErr RaiseErrorNumber(OSErr err);
  22. void RaiseErrorString(short strListID, short index,
  23.                        StringPtr param1, StringPtr param2,
  24.                        StringPtr param3, StringPtr param4);
  25. void SetStatusMessage(StringPtr message);
  26.  
  27. void PersistentAnswer(short strListID, short strIndex, ConfirmResponse answer);
  28. Boolean GetPersistentAnswer(short strListID, short strIndex, ConfirmResponse *answer);
  29.  
  30. #endif
  31.